<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
        <!-- jquery -->
        <script src="/lianxijs/libs/jquery/jquery-1.11.1.min.js"></script>
        
        <!-- http插件 -->
        <script src="/lianxijs/libs/http/axios.min.js"></script>
        
        <!-- 弹窗插件 -->
        <link rel="stylesheet" type="text/css" href="/lianxijs/libs/sweetalert/sweetalert.css"  />
        <script src="/lianxijs/libs/sweetalert/sweetalert-dev.js"></script>
        
        <!-- 时间格式化插件 -->
        <script src="/lianxijs/libs/moment/moment.min.js"></script>   
        
        <!-- 精确计算插件 -->
        <!-- <script src="/lianxijs/libs/number-precision/index.iife.js"></script> -->
        <script src="/lianxijs/libs/number-precision/index.umd.js"></script>
        
        <!-- 带搜索的下拉框 -->
        <link rel="stylesheet" type="text/css" href="/lianxijs/libs/select2/select2.css"/>
        <script src="/lianxijs/libs/select2/select2.js"></script>
        
        <!-- 日历插件 -->
        <link rel="stylesheet" type="text/css" href="/lianxijs/libs/jquerydateTime/dateTime.css"/>
        <script src="/lianxijs/libs/jquerydateTime/dateTime.min.js"></script>
        
    </head>
    <body>
        <H3>日历插件示例</H3>
        <div>
            <input type="text" placeholder="请选择日期" id="date">
            <input type="text" placeholder="请选择时间" id="time">
            <input type="text" placeholder="请选择日期和时间" id="datetime">
        </div>
    </body>
</html>
<script>
  $("#date").datetime({
        type:"date",
        value:[2019,9,31],
        success:function(res){
            console.log(res)
        }
    })

    $("#time").datetime({
        type:"time",
        value:[12,28]
    })

    $("#datetime").datetime({
        type:"datetime",
        value:[2019,7,15,15,20]
    })

</script>